<!--{if empty($_SGLOBAL['inajax'])}-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=$_SC[charset]" />
<meta http-equiv="X-UA-Compatible" content="ie=9" />
<title><!--{if $_TPL['titles']}--><!--{loop $_TPL['titles'] $value}--><!--{if $value}-->$value - <!--{/if}--><!--{/loop}--><!--{/if}--><!--{if $_SN[$space[uid]]}-->{$_SN[$space[uid]]} - <!--{/if}-->$_SCONFIG[sitename]</title>
<script language="javascript" type="text/javascript" src="source/jquery1.6.2.js"></script>
<script language="javascript" type="text/javascript">
	jQuery.noConflict();
</script>
<script language="javascript" type="text/javascript" src="source/functions.js"></script>
<script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="source/script_face.js"></script>
<script language="javascript" type="text/javascript" src="source/script_manage.js"></script>
<script language="javascript" type="text/javascript">
	function name_value(value){
		var other = $('kly_password').value;
		if(value != '' && other != ''){
			$('loginsubmit').disabled=false;
		}else{
			$('loginsubmit').disabled=true;
		}
		other = '';
	}
	function pwd_value(value){
		var other = $('kly_username').value;
		if(value != '' && other != ''){
			$('loginsubmit').disabled=false;
		}else{
			$('loginsubmit').disabled=true;
		}
		other = '';
	}
</script>
<style type="text/css">
@import url(template/default/style.css);
@import url(template/default/style/base.css);
@import url(template/default/style/public.css);
<!--{if $_TPL['css']}-->
@import url(template/default/{$_TPL[css]}.css);
<!--{/if}-->
<!--{if !empty($_SGLOBAL['space_theme'])}-->
@import url(theme/$_SGLOBAL[space_theme]/style.css);
<!--{elseif $_SCONFIG[template] != 'default'}-->
@import url(template/$_SCONFIG[template]/style.css);
<!--{/if}-->
<!--{if !empty($_SGLOBAL['space_css'])}-->
$_SGLOBAL[space_css]
<!--{/if}-->
</style>
<link rel="shortcut icon" href="image/favicon.ico" />
<link rel="edituri" type="application/rsd+xml" title="rsd" href="xmlrpc.php?rsd=$space[uid]" />
</head>
<body>
	<div id="append_parent"></div>
	<div id="ajaxwaitid"></div>
	<!-- header begin -->
	<div class="header">
		<div class="h_top">
			<div class="logo">
			<a href="/" title="微泊"><img src="template/$_SCONFIG[template]/images/logo.png" alt="图片说明" /></a>
			</div>
			<!--{if $_SGLOBAL[supe_uid]}-->
			<div class="user_info">

				<!--{if $_SGLOBAL['member']['allnotenum']}-->
				<!--mail-->
				<ul class="mail fl" id="mail">
					<li ><a class="userr_name" href="space.php?do=notice">&nbsp;</a>
						<div class="sec_mail">
						<ul>
						<li><a href="space.php?do=notice">{$_SGLOBAL[member][allnotenum]}条通知</a></li>
						</ul>
					</div>
					</li>
				</ul>
				<!--mail-->
				<!--{/if}-->

				<ul class="navv fl" id="navv">
					<li><a class="userr_name" href="space.php?uid=$space[uid]">{$_SN[$space[uid]]}</a>
					<div class="sec_navv">
						<ul>
							<li><a href="space.php?do=pm<!--{if !empty($_SGLOBAL['member']['newpm'])}-->&filter=newpm<!--{/if}-->">消息<!--{if !empty($_SGLOBAL['member']['newpm'])}--><span class='newpm'>(New)</span><!--{/if}--></a></li>
							<li><a href="cp.php">设置</a></li>
						</ul>
					</div>
					</li>
				</ul>|
				<!--{if empty($_SCONFIG['closeinvite'])}-->
					<a href="cp.php?ac=invite">邀请</a> |
				<!--{/if}-->
				<a href="cp.php?ac=common&op=logout&uhash=$_SGLOBAL[uhash]">退出</a>
			</div>
			<!--{/if}-->
		</div>
		<div class="nav_wrap">
			<div class="nav_r">
				<ul class="nav" id="nav">
				<!--{if $_SGLOBAL[supe_uid]}-->
					<li><a href="space.php?do=home">首页</a></li>
					<li><a href="space.php">个人主页</a></li>
					<li><a href="space.php?do=findship">船舶</a></li>
					<li><a href="space.php?do=mtag&view=all">公司</a></li>
					<li><a href="space.php?do=union">联盟</a></li>
					<li><a href="space.php?do=hr">英才</a>
						<div class="sec_nav" style="z-index:99999">
							<ul>
								<li><a href="space.php?do=hr&fc=jobring">船员招聘</a></li>
								<li><a href="space.php?do=hr&fc=jobwant">船员求职</a></li>
								<li><a href="space.php?do=hr&fc=hrbring">航运招聘</a></li>
								<li><a href="space.php?do=hr&fc=hrwanted">航运求职</a></li>
							</ul>
						</div>
					</li>
					<li><a href="space.php?do=business">交易</a>
					<div class="sec_nav" style="z-index:99999">
						<div class="col_1">
							<ul>
								<li><a href="space.php?do=business">货盘信息</a></li>
								<li><a href="space.php?do=ships">空船信息</a></li>
								<li><a href="space.php?do=rentship">租赁信息</a></li>
								<li><a href="space.php?do=buyship">船只买卖</a></li>
							</ul>
						</div>
					</div>
					</li>
					<li><a href="javascript:;">更多</a>
						<div class="sec_nav" style="z-index:99999">
							<ul>
								<li><a href="space.php?do=friend">好友</a></li>
								<li><a href="space.php?do=blog">日志</a></li>
								<li><a href="space.php?do=album">相册</a></li>
								<li><a href="space.php?do=track">足迹</a></li>
							</ul>
						</div>
					</li>
				<!--{else}-->
					<li><a href="index.php">首页</a></li>
					<li><a href="#" title="">了解微泊</a>
						<!-- <div class="sec_nav" style="z-index:99999;">
							<ul>
								<li><a href="#">关于我们</a></li>
								<li><a href="#">媒体报道</a></li>
							</ul>
						</div> -->
					</li>
					<li><a href="do.php?ac=$_SCONFIG[register_action]" title="">马上加入</a></li>
				<!--{/if}-->
				</ul>
			<!--{if $_SGLOBAL[supe_uid]}-->
				<div class="nav_sea_person"> 
					<!--{if $do == 'findship'}-->
					<div id="__head_search_form" style="display:none;"></div>
					<form method="post" id="head_search_form" name="head_search_form" action="space.php?do=findship&view=search">
						<div class="nav_sea_text clear">
							<div id="sea_cate" class="cate">
								<ul>
									<li id='ship'>找船</li>
									<li id='gang'>港口</li>
								</ul>
							</div>
							<input name="searchkey" value=""  type="text" id="nav_sea_text">
							<input type="hidden" name="searchsubmit" value="true" />
							<input type="hidden" name="searchmode" value="1" />
						</div>
						<input name="searchsubmit" class="nav_sea_btn" onclick="ajaxpost('head_search_form');return false;" type="submit" value=""/>
					</form>
					<!--{else}-->
					<form method="get" id="head_search_form" name="head_search_form" action="cp.php">
						<div class="nav_sea_text clear">
							<div id="sea_cate" class="cate">
								<ul>
									<li id='human'>找人</li>
									<li id='company'>公司</li>
								</ul>
							</div>
							<input name="searchkey" value=""  type="text" id="nav_sea_text">
							<input type="hidden" name="searchmode" value="1" />
							<input type="hidden" id="control" name="ac" value="friend" />
							<input type="hidden" id="view" name="op" value="search" />
						</div>
						<input name="searchsubmit" class="nav_sea_btn" type="submit" value=""/>
					</form>
					<!--{/if}-->
				</div>
				
			<!--{else}-->
			    <form name="loginform" action="do.php?ac=$_SCONFIG[login_action]&$url_plus&ref" method="post">
				<div class="nav_login">
					<table height="40px">
							<tr>
								<td>帐号：</td>
								<td>
									<input type="text" name="username" id="kly_username" onkeyup="name_value(this.value);" class="uname" value="$membername" />
								</td>
								<td>密码：</td>
								<td><input type="password" name="password" id="kly_password" onkeyup="pwd_value(this.value);" class="upw" value="" /></td>
								<td><input type="submit" id="loginsubmit" name="loginsubmit" class="btn_login" value="登录" ></td>
							</tr>
							<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
					</table>
				</div>
				</form>
			<!--{/if}-->
				
			</div>
			<script language="javascript" type="text/javascript">
			if($('kly_username') && $('kly_password')){
				if($('kly_username').value != '' && $('kly_password').value != ''){
					$('loginsubmit').disabled=false;
				}else{
					$('loginsubmit').disabled=true;
				}
			}
			</script>
		</div>
	</div>
	<div class="main clear">
<!--{/if}-->